<?php
class H_View extends Zend_View{
        private $translate;
	public function __construct($config = array()){
		parent::__construct($config);
		$this->setHelperPath("H/View/Helper","H_View_Helper");                
	}
	public function setTranslate($translate){            
            $this->translate = $translate;
        }
	public function t($key){
            $key = stripslashes(H_S::html($key));
            return $this->translate->_($key);
	}
}